Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Point Lights


Q3PointLight_GetCastShadowsState

You can use the Q3PointLight_GetCastShadowsState function to get the shadow-casting state of a point light.

TQ3Status Q3PointLight_GetCastShadowsState (
TQ3LightObject light, 
TQ3Boolean *castsShadows);
light
A point light object.
castsShadows
On exit, a Boolean value that indicates whether the specified light casts shadows (kQ3True) or does not cast shadows (kQ3False).
DESCRIPTION
The Q3PointLight_GetCastShadowsState function returns, in the castsShadows parameter, a Boolean value that indicates whether the light specified by the light parameter casts shadows (kQ3True) or does not cast shadows (kQ3False).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996